package com.edu.glutdataconvertserver.servicce.service;

import com.edu.glutdataconvertcommon.domain.EduXqb;
import com.edu.glutdataconvertserver.mapper.auto.EduXqbMapper;
import com.edu.glutdataconvertserver.servicce.KwXqbService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author gtl
 * @version 1.0
 * @date 2020/10/19  10:37
 */
@Service
public class KwXqbServiceImpl implements KwXqbService {

    @Resource
    private EduXqbMapper eduXqbMapper;

    @Override
    public EduXqb selNowXq() {
        EduXqb eduXqb = new EduXqb();
        eduXqb.setQybj("1");
        List<EduXqb> select = eduXqbMapper.select(eduXqb);
        return select.get(0);
    }
}
